FROM hub.c.163.com/library/java:8-jre
MAINTAINER yanghaibo

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
    echo "Asia/Shanghai" > /etc/timezone
ADD ./target/log-center.jar /app/
CMD ["java", "-Xmx400m", "-jar", "/app/log-center.jar"]

EXPOSE 5000